package com.fy.module.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 实体类：
 *
 * @author
 */

@TableName("sys_code")
@ApiModel(value = "验证码对象",description = "")
public class SysCode implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("验证码id")
    private String codeId;
    /**
     *
     */
    @ApiModelProperty("验证码")
    private String codeName;

    public String getCodeId() {
        return codeId;
    }

    public void setCodeId(String codeId) {
        this.codeId = codeId;
    }

    public String getCodeName() {
        return codeName;
    }

    public void setCodeName(String codeName) {
        this.codeName = codeName;
    }

    @Override
    public String toString() {
        return "SysCode{" +
                "codeId='" + codeId + '\'' +
                ", codeName='" + codeName + '\'' +
                '}';
    }
}
